
package com.xkw.autocode.jdbc.entity;

import java.util.List;

/**
 * 表实体
 */
public class TableEntity {
	
	// 表的名称
	private String tableName;

	// 表的备注
	private String comments;

	// 表的主键
	private ColumnEntity pk;

	// 表的列名(不包含主键)
	private List<ColumnEntity> columns;

	// 类名(第一个字母大写,大驼峰)，如：sys_user => SysUser
	private String bigHump;

	// 类名(第一个字母小写，小驼峰)，如：sys_user => sysUser
	private String smallHump;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public ColumnEntity getPk() {
		return pk;
	}

	public void setPk(ColumnEntity pk) {
		this.pk = pk;
	}

	public List<ColumnEntity> getColumns() {
		return columns;
	}

	public void setColumns(List<ColumnEntity> columns) {
		this.columns = columns;
	}

	public String getBigHump() {
		return bigHump;
	}

	public void setBigHump(String bigHump) {
		this.bigHump = bigHump;
	}

	public String getSmallHump() {
		return smallHump;
	}

	public void setSmallHump(String smallHump) {
		this.smallHump = smallHump;
	}
}
